package com.game.service.beans;

public class Login {
    private int uid;
    private String token;
    private int liveid;//主播房间
    private String stream;//主播场次
    private int defender;//左1,右0
    private String platform;//android ,ios ,h5
    private int isLoadImageHead;//0表示未加载,1表示已经加载
    private String viewingTableId;//围观桌子id

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getToken() {
        return token==null?"":token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public int getLiveid() {
        return liveid;
    }

    public void setLiveid(int liveid) {
        this.liveid = liveid;
    }

    public String getStream() {
        return stream;
    }

    public void setStream(String stream) {
        this.stream = stream;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public int getDefender() {
        return defender;
    }

    public void setDefender(int defender) {
        this.defender = defender;
    }

    public int getIsLoadImageHead() {
        return isLoadImageHead;
    }

    public void setIsLoadImageHead(int isLoadImageHead) {
        this.isLoadImageHead = isLoadImageHead;
    }

    public String getViewingTableId() {
        return viewingTableId;
    }

    public void setViewingTableId(String viewingTableId) {
        this.viewingTableId = viewingTableId;
    }

    @Override
    public String toString() {
        return "Login{" +
                "uid=" + uid +
                ", token='" + token + '\'' +
                ", liveid=" + liveid +
                ", stream='" + stream + '\'' +
                ", defender=" + defender +
                ", platform='" + platform + '\'' +
                ", isLoadImageHead=" + isLoadImageHead +
                ", viewingTableId='" + viewingTableId + '\'' +
                '}';
    }
}
